export default function (option, data, i) {
  option.series.forEach((value, index) => {
    value.data = data[index].data[i];
  });
  option.xAxis.data = data[data.length - 1].data[i];
  return option;
}
